Part Number Hot Search : 
XN6113 S8321 MCZ33 M3R63TCJ VV6301 LPC1111 12ML5 C100LVE
Product Description
Full Text Search
 

To Download D7566ACS Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1994 4-bit single-chip microcomputer document no. ic-2478d (o. d. no. ic-7885d) date published december 1994 p printed in japan data sheet mos integrated circuit m pd7566a, 7566a(a) the information in this document is subject to change without notice. the h mark shows major revised points. 1989 description the m pd7566a is a product of the m pd7554, 7564 sub-series which is a low-end, low-cost version of the m pd7500 series microcomputers. this 4-bit single-chip microcomputer has fewer ports than the other products in the m pd7500 series, in order to reduce the package size, and is especially ideal for temperature control applications, as well as for application systems, such as air conditioners, microwave ovens, refrigerators, rice cooker, washing machines, and cassette deck controllers. some of the output pins for the microcomputer can be used to directly drive triacs and leds. in addition, various i/o circuits can be selected by mask options, so that the number of necessary external circuits can be significantly reduced. a detailed function description is provided in the following user's manual. be sure to read this manual when designing your system. m pd7556, 7566 user's manual: iem-1111d features pin configuration (top view) ? 45 instructions (subset of the m pd7500h set b) ? instruction cycle: 2.86 microseconds (700 khz, at 5v) with ceramic oscillator ? program memory (rom): 1,024 words x 8 bits ? data memory (ram): 64 words x 4 bits ? test sources: 1 external and 1 internal ? 8-bit timer/event counter ? 19 i/o lines (total output current: 100 ma) . five pins can be used to directly drive triacs and leds : p80 to p82, p90 to p91 . eight pins can be used to directly drive leds : p100 to p103, p110 to p113 . four comparator input pins: p10/cin 0 to p13/cin 3 . mask option functions available on all ports ? standby functions (stop/halt) ? data memory contents can be retained on a low voltage ? internal ceramic oscillator for system clock oscillation ? cmos ? low-power dissipation ? single power source (2.7 to 6.0v) v ss p91 p90 p113 p112 p111 p110 p103 p102 p101 p100 reset p00/int0 p01/vref p10/cin0 p11/cin1 p12/cin2 p13/cin3 p80 p81 p82 cl2 cl1 v dd 1 2 3 4 5 6 7 8 9 10 11 12 24 23 22 21 20 19 18 17 16 15 14 13 m pd7566a h applications m pd7566a : air conditioner, microwave oven, refrigerator, audio equipment controller, etc. m pd7566a(a) : automotive and transportation equipments, etc. the quality level and absolute maximum ratings of the m pd7566a and the m pd7566a(a) differ. except where specifically noted, explanations here concern the m pd7566a as a representative product. if you are using the m pd7566a(a), use the information presented here after checking the functional differences.
m pd7566a, 7566a(a) 2 ordering information part number package quality grade m pD7566ACS-xxx 24-pin plastic shrink dip (300 mil) standard m pd7566ag-xxx 24-pin plastic sop (300 mil) standard m pD7566ACS(a)-xxx 24-pin plastic shrink dip (300 mil) special m pd7566ag(a)-xxx 24-pin plastic sop (300 mil) special caution be sure to specify mask options when placing your order. remark xxx indicates rom code number. h h please refer to "quality grade on nec semiconductor devices" (document number iei-1209) published by nec corporation to know the specification of quality grade on the devices and its recommended applications.
m pd7566a, 7566a(a) 3 m pd7566a block diagram p00/int0 p01/vref p10/cin0 - p13/cin3 p80 - p82 p90, p91 p100 - p103 p110 - p113 4 3 2 4 port11 latch buffer port1 buffer /comparator port10 latch buffer port9 latch buffer port8 latch buffer port0 buffer test control int0/p00 a(4) c intt timer/ event counter alu(4) cp clock control cl pc(10) program memory 1024x8 bits system clock generator cl standby control cl1 cl2 v dd v ss reset instruction decoder data memory 64x4 bits l(4) h(2) sp(6) 4
m pd7566a, 7566a(a) 4 contents 1. pin functions ................................................................................................................ ............... 6 1.1 port functions .............................................................................................................. ................... 6 1.2 other functions ............................................................................................................. .................. 6 1.3 mask options for pins ....................................................................................................... ............ 7 1.4 notes on using the p00/int0, and reset pins ......................................................................... 7 1.5 pin i/o circuits ............................................................................................................ ....................... 8 1.6 recommended processing of unused pins............................................................................ 10 1.7 i/o port operations ......................................................................................................... ................ 11 2. internal functional blocks ................................................................................................. 13 2.1 program counter (pc) ........................................................................................................ ............ 13 2.2 stack pointer (sp) .......................................................................................................... .................. 14 2.3 program memory (rom) ........................................................................................................ ......... 15 2.4 general-purpose registers ................................................................................................... ...... 15 2.5 data memory (ram) ........................................................................................................... .............. 16 2.6 accumulator (a) ............................................................................................................. .................. 17 2.7 arithmetic logic unit (alu) ................................................................................................. ......... 17 2.8 program status word (psw) ................................................................................................... .... 17 2.9 system clock generator ...................................................................................................... ....... 18 2.10 clock control circuit ...................................................................................................... ............. 19 2.11 timer/event counter ........................................................................................................ .............. 20 2.12 test control circuit ....................................................................................................... ............... 21 3. standby functions ............................................................................................................ ....... 22 3.1 stop mode ................................................................................................................... ........................ 22 3.2 halt mode ................................................................................................................... ......................... 22 3.3 releasing stop mode by using reset input ........................................................................... 22 3.4 releasing halt mode by using test request flags .......................................................... 23 3.5 releasing halt mode by using reset input ........................................................................... 23 4. reset function ............................................................................................................... ............. 24 4.1 initialization .............................................................................................................. ........................ 24 5. instruction set .............................................................................................................. ............ 25 6 electrical specifications ..................................................................................................... .. 30 7. characteristic data .......................................................................................................... ....... 36 8. application circuits ......................................................................................................... ........ 38 9. package drawing .............................................................................................................. ......... 43
m pd7566a, 7566a(a) 5 10. recommended pc board pattern for sop (reference) ................................................ 47 11. recommended soldering conditions ................................................................................ 48 appendix a. comparison for m pd7566a sub-series products........................................... 49 appendix b. development support tools ............................................................................... 50 appendix c. related documents ................................................................................................. 55 h
m pd7566a, 7566a(a) 6 1. pin functions 1.1 port functions pin input/ shared i/o name output with: function at reset circuit type p00 int0 2-bit input port (port 0). p00 is also used to s input input count clocks (event pulses). input p01 vref t p10-p13 input cin0 - 4-bit input port (port 1) input u cin3 p80-p82 output - 3-bit output port (port 8). high-current (15 ma), and medium-voltage (9v) output high impedance o p90, p91 output - 2-bit output port (port 9). high-current (15 ma), and medium-voltage (9v) output p100 - input/ - 4-bit i/o port (port 10). medium-current high p103 output (10 ma), and medium-voltage (9v) i/o impedance or high- p p110- input 4-bit i/o port (port 11). medium-current level p113 output - (10 ma), and medium-voltage (9v) i/o output 1.2 other functions pin input/ shared i/o name output with: function at reset circuit type int0 input p00 edge-detecting testable input pin (rising edge) input s comparator reference voltage input pin vref input p01 (whether this pin is used as p01 or as vref is input t specified by a mask option.) 4-bit comparator input pins (whether these cin0-cin3 input p10-p13 pins are used as digital input pins (p10 to p13) input u or as comparator input pins (cin0 to cin3) is specified by the mask option for each bit. cl1 a ceramic oscillator is connected across these pins. cl2 system reset input pin (high-level active). reset a pull-down resistor can be interconnected r to this pin by a mask option. v dd power pin v ss gnd pin
m pd7566a, 7566a(a) 7 1.3 mask options for pins the following mask options are available. these mask options can be selected in bit units. pin name mask option p00 no internally provided resistor pull-down resistor internally provided a pull-up resistor internally provided p01/v ref external v ref input no internally provided resistor (cmos input) a pull-down resistor internally provided (cmos input) ? pull-up resistor internally provided (cmos input) p10/cin0 comparator input no internally provided register a pull-down resistor internally provided (cmos input) ? pull-up resistor internally provided (cmos input) p11/cin1 comparator input no internally provided register a pull-down resistor internally provided (cmos input) ? pull-up resistor internally provided (cmos input) p12/cin2 comparator input no internally provided register a pull-down resistor internally provided (cmos input) ? pull-up resistor internally provided (cmos input) p13/cin3 comparator input no internally provided register a pull-down resistor internally provided (cmos input) ? pull-up resistor internally provided (cmos input) p80 n-channel open-drain output cmos (push-pull) output p81 n-channel open-drain output cmos (push-pull) output p82 n-channel open-drain output cmos (push-pull) output p90 n-channel open-drain output cmos (push-pull) output p91 n-channel open-drain output cmos (push-pull) output p100 n-channel open-drain i/o push-pull i/o a n-channel open-drain i/o with pull-up resistor internally provided p101 n-channel open-drain i/o push-pull i/o a n-channel open-drain i/o with pull-up resistor internally provided p102 n-channel open-drain i/o push-pull i/o a n-channel open-drain i/o with pull-up resistor internally provided p103 n-channel open-drain i/o push-pull i/o a n-channel open-drain i/o with pull-up resistor internally provided p110 n-channel open-drain i/o push-pull i/o a n-channel open-drain i/o with pull-up resistor internally provided p111 n-channel open-drain i/o push-pull i/o a n-channel open-drain i/o with pull-up resistor internally provided p112 n-channel open-drain i/o push-pull i/o a n-channel open-drain i/o with pull-up resistor internally provided p113 n-channel open-drain i/o push-pull i/o a n-channel open-drain i/o with pull-up resistor internally provided reset pull-down resistor is not internally provided pull-down resistor is internally provided internal v ref internal bias is not provided setting note a 1/2 v dd internal bias is applied to v ref note when any of pins p10-p13 is specified as comparator, and internal bias is not provided is specified for the internal v ref setting, specify external v ref input for pin p01. when none of pins p10-p13 is specified as comparator, specify internal bias is not provided for the internal v ref setting. there is no mask option for prom products. for more information, see the m pd75p66 data sheet (ic-7518). h
m pd7566a, 7566a(a) 8 1.4 notes on using the p00/int0, and reset pins in addition to the functions described in 1.1, 1.2, and 1.3, an exclusive function for setting the test mode, in which the internal functions of the m pd7566a are tested, is provided to the p00/int0 and reset pins. if a voltage less than v ss is applied to either of these pins, the m pd7566a is put into test mode. therefore, even when the m pd7566a is in normal operation, if noise less than the v ss is input into any of these pins, the m pd7566a will enter the test mode, and this will cause problems for normal operation. as an example, if the wiring to the p00/int0 pin or the reset pin is long, stray noise may be picked up and the above mentioned problem may occur. therefore, all wiring to these pins must be made short enough to not pick up stray noise. if noise cannot be avoided, suppress the noise using a capacitor or diode as shown in the figure below. ? connect a diode having a low v f across ? connect a capacitor across p00/int0 and reset, p00/int0 and reset, and v ss . and v ss . v dd p00/int0, reset v dd v ss low v f diode v dd p00/int0, reset v dd v ss
m pd7566a, 7566a(a) 9 1.5 pin i/o circuits schematic drawings of the i/o circuits for the microcomputers pins are shown below. (1) type o (2) type p (3) type r mask option v dd p-ch out mask option data output disable n-ch (medium-voltage, high current) data output disable v dd p-ch mask option in/out n-ch (medium-voltage, high-curren medium-voltage, input buffer
m pd7566a, 7566a(a) 10 (4) type s mask option in v dd (5) type t (6) type u mask option in v dd + - reference voltage mask option mask option v dd v dd in r ref r ref - +
m pd7566a, 7566a(a) 11 1.6 recommended processing of unused pins pin recommended processing p00/int0 connect to v ss p01/v ref connect to v ss or v dd p10-p13 p80-p82 open p90, p91 p100-p103 input : connect to v ss or v dd p110-p113 output: open
m pd7566a, 7566a(a) 12 1.7 i/o port operations (1) p00, p01 (port 0) port 0 is a 2-bit input port and consists of pins p00 and p01. these pins are multiplexed, and p00 can also input count clocks or testable signal (int0), while p01 is used, when so specified by a mask option, to input a reference voltage (vref) to the internal comparator. to input a count clock from p00, set bits 2 and 1 (cm2 and 1) for the clock mode register to 01 (see 2.10, clock control circuit). to allow p00 to serve as int0, set the sm3 flag to 1. whether p01 is used to input a reference voltage (vref) to the comparator is specified by a mask option. in this case, the port function for the p01 pin cannot be used. the data on p00 and p01 can be loaded to the lower 2 bits (a0 and a1) of the accumulator at any time, by executing a port input instruction (ipl, l = 0). (2) p10/cin 0 to p13/cin 3 (port 1) port 1 is a 4-bit input port consisting of these four pins, which can also be used to input analog voltages to the comparator, when so specified by mask options. to input analog voltages through port 1, a comparator must be connected to each bit of the port by a mask option, and a port input instruction (ipl, l = 1) must be executed. the analog voltage input through these pins to the comparator is always compared with a reference voltage input through the vref pin. it takes up to 3 machine cycles to accomplish this comparison. therefore, to change the voltage applied to the vref pin by port output to form an a/d converter by using a resistor ladder, wait for 3 machine cycles after executing a port output (opl) instruction. then carry out an input (ipl, l = 1) instruction to obtain the result of the comparison. if the output instruction is executed during a 3 machine cycle period that precedes the ipl instruction (l = 1), which inputs the comparison result, the comparator accuracy may be degraded. for this reason, do not execute the opl instruction during 3 machine cycles immediately before the ipl instruction is executed. example: lhli 0ah ; l = 10 opl ; port 10 output (vref is changed) nop nop lhli 1 ; l = 1 ipl ; input of comparison result (3) p80 to p82 (port 8), and p90 to p91 (port 9) pins 80 to p82 constitute a 3-bit output port with output latch, port 8, while p90 to p91 form a 2-bit output port with output latch, port 9. when a port output instruction (opl, l = 8, or l = 9) is executed, the contents of the accumulator are latched on the output latches, and, at the same time, output to these ports. each bit in ports 8 and 9 can be set or reset by spbl or rpbl instruction. two output modes can be selected for ports 8 and 9 by a mask option: cmos (push-pull) or n-channel open-drain mode. the n-channel open-drain output mode is useful for interfacing a circuit operating on a supply voltage different from that to the microcomputer, because the output buffer in this mode can withstand an applied 9v.
m pd7566a, 7566a(a) 13 (4) p100 to p103(port 10), and p110 to p113 (port 11)..........pseudo-bidirectional i/o pins p100 to p103 constitute a 4-bit i/o port with output latches, port 10, while p110 to p113 form port 11, which is a 4-bit i/o port with output latches. when a port output instruction (opl, l = 10 or l11) is executed, the accumulator contents are latched to the output latches and, at the same time, output to either of these ports. data once written to the output latch and the state of the output buffer are retained until an output instruction that manipulates port 10 or 11 is executed next, or until the reset signal is input. therefore, the states of the output latches and output buffer will not be changed, even when an input instruction is executed to these ports. each bit of ports 10 and 11 can be set or reset by spbl or rpbl instruction. three input modes can be selected for ports 10 and 11 by mask options: n-channel open-drain i/o, n-channel open-drain i/o with pull-up resistors connected, and cmos (push-pull) modes. the n-channel open-drain mode is useful for interfacing a circuit operating on a supply voltage different from that fed to the microcomputer, because the i/o buffer in this mode can withstand a 9v application. if the cmos (push-pull) i/o mode has been selected and an output instruction has once been executed, the ports cannot return to the input mode. however, the pin states can be checked by executing a port input (ipl) instruction. in the n-channel open-drain mode, regardless of whether the pull-up resistors are connected or not, the ports are set in the input mode, when high-level signals are output to them, and the data on the 4 bits of each port can be loaded to the accumulator. thus, the port serves as a pseudo-bidirectional port. the three i/o modes are selected under the following conditions: cmos i/o i) to use all the 4-bits as input port pins ii) to use port pins as output pins from which no medium-voltage output is required n-channel open-drain i/o i) to use port pins in applications where inputting outputting a medium-voltage is required ii) to use some port pins as input pins and the others as output pins iii) to alternately input and output data through one port pin a n-channel open-drain i/o with pull-up resistor connected i) to use some port pins as input pins and the other, as output pins in applications where pull-up resistors are required ii) to alternately input and output data through one port pin in application where a pull-up resistor is required caution to use port pins as input pins in modes and a above, it is necessary to write 1 to the output latch in advance and to turn off the n-channel transistor.
m pd7566a, 7566a(a) 14 2. internal functional blocks 2.1 program counter (pc) ...... 10 bits this is a 10-bit binary counter that retains the address information for the program memory (rom). fig. 2-1 program counter pc9 pc8 pc7 pc6 pc5 pc4 pc3 pc2 pc1 pc0 pc normally, each time an instruction has been executed, the pc contents are automatically incremented by the number of bytes for the instruction. when a call instruction has been executed, the current contents of the pc (i.e., return address) are saved to the stack, and a new call address is loaded to the pc. when a return instruction has been executed, the contents of the stack (i.e., return address) are loaded to the pc. when a jump instruction has been executed, immediate data that indicates the jump destination is loaded to some or all of the bits for the pc. when a skip instruction has been executed, the pc contents are incremented by 2 or 3 during 1 machine cycle, depending on the number of bytes for the instruction to be executed next. all the pc bits are cleared to 0, when the reset signal has been input.
m pd7566a, 7566a(a) 15 2.2 stack pointer (sp) ...... 6 bits this is a 6-bit register. when port of the data memory is used as a last-in, first-out (lifo) stack area, the sp retains the first address for the stack. fig. 2-2 stack pointer sp5 sp4 sp3 sp2 sp1 sp0 sp the sp contents are decremented when a call instruction has been executed, and are incremented when a return instruction has been executed. to obtain a stack area, the sp must be initialized by tamsp instruction. note, however, that 0 is is unconditionally loaded to the lsb for the sp (i.e., bit sp0) when tamsp instruction has been executed. stacking operation begins with decrementing the sp contents. therefore, the highest address for the stack area +1 is set in the sp. if the highest address for the stack area is 3fh, which is the highest address in the data memory, the initial values for the sp5 to 0 bits must be 00h. however, keep the data to be stored in am to 40h when tamsp instruction is executed, so that the microcomputer can be easily emulated by m pd7500h (evakit-7500b). fig. 2-3 executing tamsp instruction the sp contents cannot be read. caution the sp contents are undefined, when the reset signal has been input. therefore, make sure that the sp is initialized at the beginning of the program. example: lhli 00h lai 0 st lai 4 tamsp ; sp = 40h 0 sp4 a3 sp2 sp3 sp0 sp1 a2 a1 a0 (hl) 3 sp5 (hl) 2 (hl) 1 (hl) 0
m pd7566a, 7566a(a) 16 2.3 program memory (rom) ...... 1,024 words x 8 bits this is a mask programmable rom, consisting of 1,024 words by 8 bits. the rom is addressed by the program counter (pc). the program is stored in the program memory. address 000h in this memory is a reset start address. fig. 2-4 program memory map 2.4 general-purpose registers two general-purpose registers, h (2 bits) and l (4 bits), are available. each of these registers can be manipulated independently from the other. in addition, these registers can be used as a pair register (hl). the pair register serves as a data pointer to address the data memory. fig. 2-5 general-purpose registers (0) 000h (1023) 3ffh reset start 103 0 hl the l register is also used to specify an i/o port or mode register, when an input/output instruction (ipl or opl) is executed. this register is also used to specify the port bit to be set or reset by spbl or rpbl instruction.
m pd7566a, 7566a(a) 17 2.5 data memory (ram) ...... 64 words x 4 bits the data memory is static ram configured of 64 words by 4 bits, and is used to store various data and as a stack area. the data memory is also used in pairs with the accumulator, making it possible to process 8-bit data. fig. 2-6 data memory map when a return instruction has been executed, the pc contents are restored, but the psw contents are not. the data memory contents can be retained on a low supply voltage in the stop mode. 30 sp - 4 0 0 pc9 pc8 sp - 3 psw note sp - 2 pc3 - pc0 sp - 1 pc7 - pc4 note bit 1 of psw is always 0. (0) 00h (63) 3fh 64 words x 4 bits the data memory can be addressed in the following three addressing modes: ? direct: in this mode, the data memory is directly addressed by the immediate data for an instruction. ? register indirect: the data memory is indirectly addressed by the contents of pair register hl (including autoincrement and autodecrement). ? stack: the data memory is indirectly addressed by the contents of the stack pointer (sp). any space in the data memory can be used as stack. the boundary of the stack is determined by initializing the sp by tamsp instruction. after that, the stack area is automatically accessed by call and return instructions. when a call instruction is executed, the contents of the pc and program status word (psw) are stored in stack, as illustrated below. stack area
m pd7566a, 7566a(a) 18 2.6 accumulator (a) ...... 4 bits this is a 4-bit register which plays a central role, when an arithmetic operation is performed. the accumulator can also be used in pairs with a data memory address, indicated by pair register hl, to process 8-bit data. fig. 2-7 accumulator a3 a2 a1 a0 a 2.7 arithmetic logic unit (alu) . ..... 4 bits this is a 4-bit arithmetic operation circuit that carries out operations such as binary addition, logic operations, increment, decrement and comparison, as well as bit manipulation. 2.8 program status word (psw) ...... 4 bits the psw consists of two skip flags (sk1 and sk0) and a carry flag (c). bit 1 of this register is always 0. fig. 2-8 program status word 3210 sk1 sk0 0 c psw (1) skip flags (sk1 and sk0) these flags retain the following skip conditions: ? string effect by lai instruction ? string effect by lhli instruction ? establishment of skip conditions by instructions other than string-effect instructions the skip flags are automatically set or reset each time an instruction has been executed. (2) carry flag (c) this flag is set to 1, when an addition instruction (acsc) is executed, and a carry is consequently generated from the bit 3 of the alu. if a carry is not generated, the carry flag is cleared to 0. in addition, the carry flag can also be set by sc instruction, and cleared by rc instruction. the content of the flag can be tested by skc instruction. the psw contents are automatically stored in the stack area when a call instruction is executed, and are not restored even when a return instruction is implemented. when the reset signal is input, the sk1 and sk0 flags are cleared to 0, and the c flag content becomes undefined.
m pd7566a, 7566a(a) 19 2.9 system clock generator the system clock generator consists of a ceramic oscillator, a 1/2 frequency divider, standby mode (stop/halt) control circuit, and other circuits. the ceramic oscillator can oscillate, when an external ceramic oscillator is connected across pins cl1 and cl2. the signal output by the internal ceramic oscillator is a system clock (cl), which is then divided in two to create a cpu clock (?). the standby mode control circuit mainly consists of a stop flip-flop and halt flip-flop. the stop flip-flop is set by a stop instruction, stopping the clock supply. when the ceramic oscillator is operating, this flip-flop stops the oscillator, setting the microcomputer in the stop mode. the stop flip-flop is reset when a high-level reset signal is input. as a result, the ceramic oscillator resumes its operation, and the clocks supply is started, when the reset signal later goes low. the halt flip-flop is set by a halt instruction, disabling the input of the 1/2 frequency divider, which generates cpu clock ?, and thereby stopping only cpu clock ? (halt mode). the halt flip-flop is reset by the halt release or the falling of reset input (which becomes active when one of the test request flags has been set), allowing the supply of ? to be started. the halt flip-flop remains set even while the reset signal is active (high-level), and operates in the same manner as in the halt mode. when power-on reset is performed, the ceramic oscillator starts at the rising edge of the reset signal. after the oscillator has started, however, a specific period is required for the oscillator to stabilize. to present the cpu from malfunctioning due to anstable clock, the halt flip-flop is set to suppress the cpu clock ? while the reset signal is high. therefore, the high-level width of the reset signal must be greater than the time required for the ceramic oscillator you use to stabilize. fig. 2-9 system clock generator note indicates that an instruction has been executed. cl 1 cl 2 ceramic oscillator oscillation stops q s rqs r stop f/f halt f/f 1/2 stop halt reset (high) halt release reset ( ) reset ( ) ?(to cpu) cl (system clock) note note
m pd7566a, 7566a(a) 20 2.10 clock control circuit the clock control circuit consists of a 2-bit clock mode register (made up of bits cm2 and 1), three prescalers (1, 2, and 3), and a multiplexer. this circuit inputs the output from the system clock generator (i.e., cl). an event pulse (from pin p00) selects a clock source and prescaler, as specified by the clock mode register, and supplies a count pulse (cp) to the timer/event counter. fig. 2-10 clock control circuit note indicates that an instruction has been executed. a code is set in the clock mode register by an opl (l = 12) instruction. fig. 2-11 clock mode register format cm2 cm1 clock mode register cm2 cm1 count pulse frequency (cp) 0 0 cl x 1/256 0 1 p00 1 0 cl x 1/32 1 1 cl x 1/4 caution when setting a code in the clock mode register by the opl instruction, be sure to clear the bit 0 (which corresponds to cm0 of evakit-7500b ( m pd7500) during emulation) for the accumulator to 0. cm1 cm2 opl cp internal bus p 00 prescaler 1 (1/4) cl prescaler 2 (1/8) prescaler 3 (1/8) note
m pd7566a, 7566a(a) 21 2.11 timer/event counter the timer/event counter mainly consists of an 8-bit count register. fig. 2-12 timer/event counter 1 4 1 32 1 256 note indicates that an instruction has been executed. the 8-bit count register is a binary up-counter. the contents of this counter are incremented each time a count pulse (cp) is input to the counter, and are cleared to 00h when timer instruction has been executed, when the reset signal has been input, or when overflow (i.e., counting from ffh to 00h) has occurred in the counter. the following four count pulses can be selected by the clock mode register (see 2.10 clock control circuit ). cp: cl x , cl x , cl x , p00 the count register always counts up as long as the count pulse is input to it. therefore, the timer instruction clears the contents of the count register to 00h and triggers a timer operation. the count register contents are incremented in synchronization with cp (or the rising edge of the p00 signal, when an external clock is selected). when the number of counts reaches 256, the count value is returned from ffh to 00h. at this time, the count register generates an overflow signal (intt), setting the intt test flag (intt rqf). the count register then starts counting up from 00h. whether or not an overflow has occurred can be learned by testing the int rqf flag, using the ski instruction. when the timer/event counter operates as a timer, the reference time for the timer is determined by the cp frequency. the accuracy of the measured time is determined, when the system clock is selected, by the system clock oscillation frequency. if the signal input through the p00 pin is selected as the clock, the accuracy is determined by the frequency of the signal input to the p00 pin. the contents of the count register can always be made ready by tcntam instruction. by using this instruction, the current time for the timer can be checked, or it can be determined how many event pulses have been generated so far by inputting the event pulses to the p00 pin and counting them (event counter operation). the count pending circuit is to ignore changes in the count pulses (cps) while tcntam instruction is executed. this is necessary because, when tcntam instruction is used to read the contents of the count register, unstable data may be read while the present count is being updated. the timer/event counter operates using the system clocks (cl) or the signals input to the p00 pin as count pulses. therefore, the timer/event counter can be used to release the halt mode, in which the supply of the cpu clock ? is stopped (see 3. standby functions ). internal bus 8-bit count reg count pending circuit 8 cp tcntam timer reset clr intt (to test control circuit) note note
m pd7566a, 7566a(a) 22 2.12 test control circuit the test control circuit consists of two test flags, a flag called sm3, and a test request flag control circuit. the test request flags, int0 rqf and intt rqf, are set by two kinds of test sources (external test input (int0) and timer overflow (intt)). the sm3 flag determines whether or not inputting signals to the int0 pin is enabled. the test request flag control circuit checks the contents of the test request flags, when an ski instruction is executed, and resets the flags. the sm3 flag is set by an opl (l = 0fh) instruction (corresponding to a3). when this flag is 1, the int0 input is enabled. the int0 rqf flag is set when the rising edge is detected on the int0 pin, and is reset by an ski instruction. the intt rqf flag is set when an overflow occurs in the timer, and is reset by an ski or timer instruction. the signals output by the test request flags are used to release the halt modes. if one of or both the flags were to be set, the halt modes are released. when the reset signal is input, both the test request flags and sm3 flag are reset. therefore, int0 input is disabled as the initial condition after the reset signal has been applied. fig. 2-13 test control circuit note indicates that an instruction has been executed. internal bus sm3 intt int0 nonsync edge gate intt rqf nonsync edge gate int0 rqf s r s r q q halt release test rqf control note note note opl ski timer
m pd7566a, 7566a(a) 23 3. standby functions the m pd7566a can be set in two standby modes (stop and halt), in which the power dissipation for the microcomputer can be reduced while the program stands by. the stop mode is set by a stop instruction, while the halt mode is set by a halt instruction. in the stop mode, the supply of all the clocks is stopped, but the supply of only the cpu clock ? is stopped in the halt mode. when the halt mode is set, program execution is stopped, but the contents of all the registers and data memory, immediately before the halt mode has been set, are retained. the timer/event counter can operate even in the halt mode. the stop mode is released only by the input of the reset signal. the halt mode can be released by setting either or both the test request flags (intt rqf and int0 rqf), or by inputting the reset signal. therefore, the standby mode cannot be set, even when the stop or halt instruction is executed while one of the test request flags is set. to set the standby mode, when it is possible that one of the test request flags is set, execute an ski instruction in advance to reset the test request flag. 3.1 stop mode the stop mode can be set any time by executing the stop instruction, unless either or both the test request flags are set. in this mode, the data memory contents are retained, but all other functions are stopped and become invalid, except for the reset signal, which is used to release the stop mode. consequently, the power dissipation for the microcomputer is minimized. caution in the stop mode, the cl1 pin is internally short-circuited to v dd (high level) to prevent the leakage current from the ceramic oscillator. 3.2 halt mode in this mode, only the 1/2 frequency divider for the system clock generator is stopped. consequently, the supply of system clock (cl) is not stopped and only the cpu clock (?) is stopped. the operation of the cpu, which calls for the cpu clock, is therefore stopped. however, the clock control circuit is not stopped. the clock control circuit can therefore input the cl signal generated by the system clock generator and event pulses input from an external source through the p00 pin, can supply both the clocks to the timer/event counter as count pulses (cps). the timer/event counter can therefore operate on both the count pulses and its operation will not be interrupted. 3.3 releasing stop mode by using reset input when the reset signal becomes high in the stop mode, the halt mode is set, and at the same time, ceramic oscillation starts. when the reset signal goes low, the halt mode is released followed by ordinary reset operation. after that, the cpu starts executing the program from address 0. the stop mode is thus released. the contents of the data memory are retained even while the mode is released, that the contents of registers become undefined.
m pd7566a, 7566a(a) 24 stop instruction reset input stop mode halt mode (oscillator stabilization time) clock oscillation starts released ordinary reset operation (execution starts from address 0) caution the stop mode is not released by setting the test request flags. 3.4 releasing halt mode by using test request flags the halt is released when either or both of the test request flags (intt rqf and int0 rqf) are set, and program execution is resumed, starting from the instruction next to the halt instruction. the contents of the registers and data memory, which have been retained during the halt mode, are not affected by the release of the halt mode. 3.5 releasing halt mode by using reset input when the reset signal is input, the halt mode is unconditionally released, as illustrated in fig. 3-2. fig. 3-2 halt mode release timing by reset input fig. 3-1 stop mode release timing reset halt mode released ordinary reset operation (execution starts from address 0) while the reset signal is active (high level), the halt mode continues. when the reset signal goes low, the halt mode is released. ordinary resetting operation is then accomplished. then, the program is executed starting from address 0. the contents of the data memory, retained during the halt mode, are not affected by the reset signal. however, the contents of the registers are affected and become undefined.
m pd7566a, 7566a(a) 25 4. reset function the microcomputer is reset and initialized as follows, when an active-high reset signal is input to the reset pin: 4.1 initialization (1) the program counter (pc9 to pc0) is cleared to 0. (2) the skip flags (sk1 and sk0) for the program status word are reset to 0. (3) the count register for the timer/event counter is cleared to 00h. (4) the clock control circuit is initialized as follows: ? clock mode register (bits cm2 and 1) = 0 y cp = cl x ? prescalers 1, 2, and 3 = 0 (5) the sm3 flag is reset to 0, disabling the external test input (int0). (6) the test request flags (intt rqf and int0 rqf) are reset to 0. (7) the contents of the data memory and the following registers will become undefined. stack pointer (sp) accumulator (a) carry flag (c) general-purpose registers (h and l) output latches for ports (8) the output buffers for all the ports are turned off and enter the output high-impedance state. the i/o ports are set in the input mode. caution when the reset signal is used to released the standby mode, the contents of the data memory do not become undefined, but are retained. when the reset signal is removed, the program is executed starting from address 000h. however, initialize or reinitialize the contents for the registers by program. 1 256
m pd7566a, 7566a(a) 26 5. instruction set (1) operand representation format and description addr 10-bit immediate data or label caddr 10-bit immediate data or label caddr1 immediate data 100h-107h, 140h-147h or label immediate data 180h-187h, 1c0h-1c7h or label mem 6-bit immediate data or label n5 5-bit immediate data or label n4 4-bit immediate data or label n2 2-bit immediate data or label bit 2-bit immediate data or label pr hl-, hl+, hl (2) legend for operation column a : accumulator h : h register l : l register hl : pair register (hl) pr : pair register (hl-, hl+, hl) sp : stack pointer pc : program counter c : carry flag psw : program status word ct : count register in : immediate data corresponding to n5, n4, or n2 pn : immediate data corresponding to addr, caddr, or caddr1 bn : immediate data corresponding to bit dn : immediate data corresponding to mem rn : immediate data corresponding to pr (xx) : contents addressed by xx xh : hexadecimal data
m pd7566a, 7566a(a) 27 (3) selection of port/mode register ipl instruction l port 0 port 0 1 port 1 ah port 10 bh port 11 opl instruction l port/mode register 8 port 8 9 port 9 ah port 10 bh port 11 ch clock mode register fh sm3 flag rpbl; spbl instruction l fhehdhchbhah9854210 bit 3210321010210 port port 11 port 10 port 9 port 8 (4) selection of addressing mode by pair register pr r 1 r 0 hl- 0 0 hl+ 0 1 hl 1 0
m pd7566a, 7566a(a) arithmetic operation accumulator/ carry flag manipulation increment/ decrement ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 0 0 0 1 i 3 i 2 i 1 i 0 0 0 1 0 1 0 i 1 i 0 0 1 0 1 0 0 r 1 r 0 1 1 0 i 4 i 3 i 2 i 1 i 0 0 1 0 1 0 1 1 1 0 1 0 0 i 3 i 2 i 1 i 0 0 1 1 1 1 0 1 1 0 1 0 1 0 1 r 1 r 0 0 0 0 0 i 3 i 2 i 1 i 0 0 1 1 1 1 1 0 1 0 1 1 1 1 1 0 0 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 0 1 0 1 1 0 0 1 0 0 1 1 1 1 0 1 0 1 0 1 1 0 0 0 0 0 1 1 1 1 0 0 0 1 1 0 1 0 b 1 b 0 0 1 1 0 1 1 b 1 b 0 0 0 d 5 d 4 d 3 d 2 d 1 d 0 0 0 d 5 d 4 d 3 d 2 d 1 d 0 op code instructions mne- ope- operation skip monic rand b1 b2 condition load/store lai n4 a n4 loads n4 to accumulator string-effect lai lhi n2 h n2 loads n2 to register h lam pr a (pr) pr = hl-, hl+, hl loads memory contents addressed l = fh (hl-) by pr to accumulator l = 0 (hl+) lhli n5 h 0 i 4 , l i 3-0 loads n5 to registerpair hl string-effect lhli st (hl) a stores accumulator contents to memory addressed by hl stii n4 (hl) n4, l l+1 stores n4 in memory addressed by hl and then increments l register contents xal a l exchanges accumulator contents with l register contents xam pr a (pr) pr = hl-, hl+, hl exchanges accumulator contents with l = fh (hl-) contents of memory addressed by pr l = 0 (hl+) aisc n4 a a + n4 adds accumulator contents to n4 carry asc a a + (hl) adds accumulator contents to carry contents of memory addressed by hl acsc a, c a + (hl) + c adds accumulator contents to carry contents of memory addressed by hl with carry flag exl a a v (hl) exclusive-ors accumulator contents with contents of memory addressed by hl cma a a complements accumulator contents rc c 0 resets carry flag sc c 1 sets carry flag ils l l + 1 increments l register contents l = 0 idrs mem (mem) (mem) + 1 increments contents of memory (mem) = 0 addressed by mem dls l l - 1 decrements l register contents l = fh ddrs mem (mem) (mem) - 1 decrements contents of memory (mem) = fh addressed by mem memory bit rmb bit (hl) bit 0 resets bit, specified by b 1-0 , of manipulation memory addressed by hl smb bit (hl) bit 1 sets bit, specified by b 1-0 , of memory addressed by hl 28
m pd7566a, 7566a(a) op code instructions mne- ope- operation skip monic rand b1 b2 condition jump jmp addr pc 9-0 p 9-0 jumps to address indicated by p 9-0 jcp addr pc 5-0 p 5-0 jumps to address specified by p 5-0 which replaces pc 5-0 subroutine/ call caddr (sp-1)(sp-2)(sp-4) pc 9-0 saves contents of pc and psw to stack (sp-3) psw, sp sp - 4 stack, decrements sp by 4, and control pc 9-0 p 9-0 calls address indicated by caddr cal caddr1 (sp-1)(sp-2)(sp-4) pc 9-0 saves contents of pc and psw to (sp-3) psw, sp sp - 4 stack, decrements sp by 4, and calls pc 9-0 0 1 p 4 p 3 0 0 0 p 2 p 1 p 0 address indicated by caddr1 rt pc 9-0 (sp)(sp+2)(sp+3) restores contents of stack memory to sp sp + 4 pc and increments sp by 4 rts pc 9-0 (sp)(sp+2)(sp+3) restores contents of stack memory to un- sp sp + 4 pc, increments sp by 4, and skips conditionally then skip unconditionally unconditionally tamsp sp 5-4 a 1-0 transfers lower 2 bits of accumulator sp 3-1 (hl) 3-1 , sp 0 0 to sp 5-4 , and higher 3 bits of contents of memory, addressed by hl, to sp 3-1 skip skc skip if c = 1 skips if carry flag is 1 c = 1 skabt bit skip if a bit = 1 skips if bit, specified by b 1-0 , of a bit = 1 accumulator is 1 skmbt bit skip if (hl) bit = 1 skips if bit, specified by b 1-0 , of (hl) bit = 1 memory addressed by hl is 1 skmbf bit skip if (hl) bit = 0 skips if bit, specified by b 1-0 , of (hl) bit = 0 memory addressed by hl is 0 skaem skip if a = (hl) skips if accumulator contents are a = (hl) equal to contents of memory addressed by hl skaei n4 skip if a = n4 skips if accumulator contents are a= n4 equal to n4 ski n2 skip if int rqf = 1 skips if int rqf is 1, and then int rqf = 1 then reset int rqf clears int rqf to 0 ? ? ? ? ? ? ? ?? ? ? ? ? ? ? 0 0 1 0 0 0 p 9 p 8 1 0 p 5 p 4 p 3 p 2 p 1 p 0 0 0 1 1 0 0 p 9 p 8 1 1 1 p 4 p 3 p 2 p 1 p 0 0 1 0 1 0 0 1 1 0 1 0 1 1 0 1 1 0 0 1 1 1 1 1 1 0 1 0 1 1 0 1 0 0 1 1 1 0 1 b 1 b 0 0 1 1 0 0 1 b 1 b 0 0 1 1 0 0 0 b 1 b 0 0 1 0 1 1 1 1 1 0 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 p 7 p 6 p 5 p 4 p 3 p 2 p 1 p 0 p 7 p 6 p 5 p 4 p 3 p 2 p 1 p 0 0 0 1 1 0 0 0 1 0 1 1 0 i 3 i 2 i 1 i 0 0 1 0 0 0 0 i 1 i 0 ? ? 29
m pd7566a, 7566a(a) timer control ? ? ? ? ? ? ? 0 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 0 1 1 1 0 0 0 0 0 1 1 1 0 0 0 1 0 1 1 1 0 0 1 0 0 1 0 1 1 1 0 0 0 1 0 1 1 1 0 1 0 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 1 1 1 0 1 1 0 0 1 1 0 1 1 0 0 0 1 1 0 1 1 1 op code instructions mne- ope- operation skip monic rand b1 b2 condition timer start timer starts timer operation tcntam a ct 7-4 transfers higher 4 bits of count (hl) ct 3-0 register to accumulator, and lower 4 bits to memory addressed by hl input/output ipl a port (l) loads contents of port specified by l register to accumulator ip1 a port 1 inputs contents of port to accumulator opl port/mode reg.(l) a outputs accumulator contents to port or mode register specified by l register rpbl note port bit (l) 0 resets bits of port 8, 10, or 11 specified by l register spbl note port bit (l) 1 sets bits of port 8, 10, or 11 specified by l register cpu control halt set halt mode sets halt mode stop set stop mode sets stop mode nop no operation performs nothing but waits for 1 machine cycle note although the spbl and rpbl instructions are to set or reset a specified bit, they also output port contents (in 4-bit units) in cluding the specified bit as soon as the specified bit has been set or reset (the contents of the output latch are output to pins other than the specifie d bit). before executing these instructions, initialize the contents of the output latch by executing the opl instruction. 30
m pd7566a, 7566a(a) 31 6. electrical specifications m pd7566a: absolute maximum ratings (t a = 25 c) item symbol condition rating unit supply voltage v dd -0.3 to + 7.0 v other than ports 10 and 11 -0.3 to v dd + 0.3 v input voltage v i ports 10 note 1 -0.3 to v dd + 0.3 v and 11 note 2 -0.3 to +11 v other than ports 8 to 11 -0.3 to v dd + 0.3 v output voltage v o ports 8 note 1 -0.3 to v dd + 0.3 v to 11 note 2 -0.3 to +11 v high-level 1 pin -5 ma output current i oh total of all pins -15 ma ports 8 and 9 30 ma 1 pin low-level i ol others 15 ma output current total of all pins 100 ma operating t opt -10 to +70 c temperature storage t stg -65 to +150 c temperature power shrink dip 480 dissipation p d t a = 70 cmw mini-flat 250 note 1. cmos input/output or n-channel open-drain output with pull-up resistor connected 2. n-channel open-drain input/output caution even if one of the parameters exceeds its absolute maximum rating even momentarily, the quality of the product may be degraded. the absolute maximum rating therefore specifies the upper or lower limit of the value at which the product can be used without physical damages. be sure not to exceed or fall below this value when using the product. h
m pd7566a, 7566a(a) 32 m pd7566a(a): absolute maximum ratings (t a = 25 c) item symbol condition rating unit supply voltage v dd -0.3 to + 7.0 v other than ports 10 and 11 -0.3 to v dd + 0.3 v input voltage v i ports 10 note 1 -0.3 to v dd + 0.3 v and 11 note 2 -0.3 to +11 v other than ports 8 to 11 -0.3 to v dd + 0.3 v output voltage v o ports 8 note 1 -0.3 to v dd + 0.3 v to 11 note 2 -0.3 to +11 v high-level 1 pin -5 ma output current i oh total of all pins -15 ma ports 8 and 9 30 ma 1 pin low-level i ol others 15 ma output current total of all pins 100 ma operating t opt -40 to +85 c temperature storage t stg -65 to +150 c temperature power shrink dip 350 dissipation p d t a = 85 cmw mini-flat 195 note 1. cmos input/output or n-channel open-drain output with pull-up resistor connected 2. n-channel open-drain input/output caution even if one of the parameters exceeds its absolute maximum rating even momentarily, the quality of the product may be degraded. the absolute maximum rating therefore specifies the upper or lower limit of the value at which the product can be used without physical damages. be sure not to exceed or fall below this value when using the product. capacitance (t a = 25 c, v dd = 0v) item symbol condition min. typ. max. unit input capacitance c in p00, p01, p10 to p13 15 pf f = 1 mhz output capacitance c out 0v at pins c in 0 to c in 315pf other than measured pin ports 8 and 9 35 pf input/output c io capacitance ports 10 and 11 35 pf h
m pd7566a, 7566a(a) 33 cl1 cl2 r2 c2 c1 oscillator characteristics m pd7566a : t a = -10 to +70 c, v dd = 2.7 to 6.0v m pd7566a(a) : t a = -40 to +85 c, v dd = 2.7 to 6.0v oscillator external item condition min. typ. max. unit circuit v dd = 4.5 to 6.0v 290 700 710 khz oscillation v dd = 4.0 to 6.0v 290 500 510 khz frequency (f cc )v dd = 3.5 to 6.0v 290 400 410 khz ceramic oscillator note v dd = 2.7 to 6.0v 290 300 310 khz after the oscillation minimum value of stabilization time the operating 20 ms (t os ) voltage range has been reached note the following ceramic oscillators are recommended: operating recommended constants voltage range manufacturer product [v] name c1 [pf] c2 [pf] r2 [k w ] min. max. csb300d 330 330 6.8 2.7 6.0 csb400p 220 220 6.8 3.5 6.0 murata mfg. co., ltd. csb500e 100 100 6.8 4.0 6.0 csb700a 100 100 6.8 4.5 6.0 kbr-300b 470 470 0 2.7 6.0 kbr-400b 330 330 0 3.5 6.0 kyoto ceramic co., ltd. kbr-500b 220 220 0 4.0 6.0 kbr-680b 220 220 0 4.5 6.0 crk-400 120 120 12 3.5 6.0 toko inc. crk-500 100 100 12 4.0 6.0 crk-680 82 82 12 4.5 6.0 caution 1. locate the oscillation circuit as close as possible to the cl1 and cl2 pins. 2. do not route any other signal lines in the area enclosed by the dotted line.
m pd7566a, 7566a(a) 34 dc characteristics m pd7566a : t a = -10 to +70 c, v dd = 2.7 to 6.0v m pd7566a(a) : t a = -40 to +85 c, v dd = 2.7 to 6.0v item symbol condition min. typ. max. unit v ih1 other than ports 10 and 11 0.7v dd v dd v high-level input voltage v ih2 ports 10 and 11 note 1 0.7v dd 9v low-level input voltage v il 0 0.3v dd v v dd = 4.5 to 6.0v high-level output voltage v oh ports 8 to 11 i oh = -1 ma v dd -2.0 v i oh = -100 m av dd -1.0 v v dd = 4.5 to 6.0v 0.4 v i ol = 1.6 ma ports 10 and 11 v dd = 4.5 to 6.0v 2.0 v i ol = 10 ma low-level output voltage v ol i ol = 400 m a 0.5 v v dd = 4.5 to 6.0v 2.0 v port 8 and 9 i ol = 15 ma i ol = 600 m a 0.5 v i lih1 v in = v dd 3 m a high-level input leakage current i lih2 v in = 9v, ports 10 and 11 note 1 10 m a low-level input i lil v in = 0v -3 m a leakage current i loh1 v out = v dd 3 m a high-level output leakage current i loh2 v out = 9v, ports 8, 9, 10 and 11 note 1 10 m a low-level output i lol v out = 0v -3 m a leakage current resistor interconnected to ports 0 and 1, reset 23.5 47 70.5 k w input pin (pull-up, pull-down) resistor interconnected to ports 10 and 11 7.5 15 22.5 k w output pin (pull-up) v dd = 5v +10% 650 2200 m a f cc = 700 khz i dd1 operation mode v dd = 3v +10% 120 360 m a f cc = 300 khz v dd = 5v +10% 450 1500 m a supply current note 2 f cc = 700 khz i dd2 halt mode v dd = 3v +10% 65 200 m a f cc = 300 khz v dd = 5v +10% 0.1 10 m a i dd3 stop mode v dd = 3v +10% 0.1 5 m a note 1. with n-channel open-drain input/output selected 2. excluding current flowing through internal pull-up and pull-down resistors, comparator, and internal bias resistor
m pd7566a, 7566a(a) 35 h h comparator characteristics m pd7566a : t a = -10 to +70 c, v dd = 3.0 to 6.0v m pd7566a(a) : t a = -40 to +85 c, v dd = 3.0 to 6.0v item symbol condition min. typ. max. unit ccomparator current cin 0 to cin 3, dissipation note 1 circuit 25 50 100 m a v dd = 5v 10% input voltage vcin 0v dd v range vref response time 2 4 t cy v dd =5v 10% 10 50 mv comparator resolution input 100 mv input leakage 3 m a current internal bias r ref 50 100 200 k w resistor note excluding current flowing through internal bias resistor ac characteristics m pd7566a : t a = -10 to +70 c, v dd = 2.7 to 6.0v m pd7566a(a) : t a = -40 to +85 c, v dd = 2.7 to 6.0v item symbol condition min. typ. max. unit v dd =4.5 to 6.0v 2.8 6.9 m s internal clock cycle time t cy note 6.4 6.9 m s v dd = 4.5 to 6.0v 0 710 khz p00 event input frequency f p0 0 350 khz p00 input rise and fall time t p0r, t p0f 0.2 m s v dd = 4.5 to 6.0v 0.7 m s 1.45 m s int0 high- and low-level widths t i0h, t i0l 10 m s reset high- and low-level widths t rsh, t rsl 10 m s note t cy = 2/f cc (refer to the characteristic curve for the power requirement not listed above.) ac timing measuring points (other than cl1 input) duty = 50% p00 input high- and t p0h, low-level widths t p0l 0.7 v dd 0.3 v dd 0.7 v dd 0.3 v dd measuring points
m pd7566a, 7566a(a) 36 data memory data retention characteristics in stop mode m pd7566a : t a = -10 to +70 c m pd7566a(a): t a = -40 to +85 c item symbol condition min. typ. max. unit supply voltage for data retention v dddr 2.0 6.0 v supply current for data retention i dddr v dddr = 2.0v 0.1 5 m a reset setup time t srs 0 m s oscillation stabilization time t os after v dd reached 4.5v 20 ms data retention timing v dd stop instruction is carried out reset v dddr t os t srs stop mode data retention mode halt mode operation mode
m pd7566a, 7566a(a) 37 clock timing reset input timing test input timing int0 t i0h t i0l t cr cl1 input t cf t ch t cl 1/f c t p0r p00 input t p0f t p0h t p0l 1/f p0 reset t rsh t rsl
m pd7566a, 7566a(a) 38 7. characteristic data cl1 cl2 r2 c2 c1 f cc vs. v dd guaranteed operation range pd7566a pd7566a(a) system clock oscillation frequency f cc [khz] 1000 50 100 0123456 supply voltage v dd [v] guaranteed operation range m : t = ?0 to +70 ? : t = ?0 to +85 ? a a m t 1 t 2 t 1 >t 2 :f x = 1 2t 2 t 1 m pd7566a, 7566a(a) 39 i dd vs. v dd characteristic example (t a = 25?) supply current i dd [ m a] 1000 500 100 50 10 0123456 supply voltage v dd [v] cl1 cl2 330 pf 330 pf 100 pf 100 pf 6.8 k w 6.8 k w fcc = 700 khz operation mode csb300d csb700a fcc = 300 khz operation mode halt mode halt mode cl1 cl2 (reference value) 0 low-level output voltage v 0l [v] 123456 0 low-level output current i 0l [ma] i ol vs. v ol characteristic example (ports 8 and 9) (t a = 25?) 30 25 20 15 10 5 v dd = 3 v v dd = 5 v caution the absolute maximum rating is 30 ma per pin. (reference value)
m pd7566a, 7566a(a) 40 0 low-level output voltage v 0l [v] 123456 0 low-level output current i 0l [ma] i ol vs. v ol characteristic example (ports 10 and 11) (t a = 25?) 30 25 20 15 10 5 v dd = 5 v v dd = 3 v caution the absolute maximum rating is 15 ma per pin. (reference value) 0 v dd ?v 0h [v] 123456 0 high-level output current i 0h [ma] i oh vs. v oh characteristic example (t a = 25?) ? ? ? ? ? v dd = 3 v v dd = 5 v (reference value) caution the absolute maximum rating is ? ma per pin.
m pd7566a, 7566a(a) 41 8. application circuits (1) refrigerator and air conditioner the above example shows a circuit for a refrigerator. a circuit for an air conditioner can be implemented by replacing only the heater with a fan motor. max. 9 v ac100v ++ rd 5.1e thermistors vref p100 p101 p102 p103 cl1 cl2 cmos output pd7566a input with pull-up resistor interconnected (pull-down resistor interconnected) int0 p110 p111 p112 2sa733 cin0 cin1 cin2 cin3 res p80 p81 p82 p90 p91 led 4 ac03dgm, etc. ac16dgm, etc. heater compressor motor overcurrent detector switch input (door switch) comparator inputs p113 (cmos output) m 2sc945a
m pd7566a, 7566a(a) 42 (2) rice cooker 2sa733 led 4 res p80 p81 p82 p90 p91 open-drain outputs p111 p112 cmos outputs p00 p11 p12 p13 cin 0 comparator input p110 vref p100 p101 p102 p103 ac100 v rd 10e + rd 5.1e m pd7566a inputs with pull-down resistor interconnected cl1 cl2 cmos output bz piezoelectric buzzer rl + rd 24e ac03dgm, etc. heater for cooking heater for temperature control
m pd7566a, 7566a(a) 43 (3) washing machine ac100v + + 2sa733 res p90 p91 open-drain p102 (open-drain input) p100 p101 cmos outputs p110 p113 m pd7566a piezoelectric buzzer driver m pa80c led 12 p80 p81 p82 p10 p11 p12 p13 cl2 cl1 p00 p01 inputs with pull-up resistor interconnected bz p103 (cmos output) ac0v8dgm etc. ac03dgm etc. ac08dgm etc. m 2 water supply magnet drainage magnet motor input 12 keys open-drain outputs to rd 5.6e 2sc945a
m pd7566a, 7566a(a) 44 (4) cassette deck controller motor plunger driver p91 p110-p112 3 recording signal mute signal leader signal tape end detection pause input voltage detection p113 p102 p103 int0 p01 p13 p80 p81 p82 p90 p10 p11 p12 inputs with pull-up resistor interconnected open-drain outputs cl1 cl2 p100 p101 2sa733 led 8 12 keys m pd7566a
m pd7566a, 7566a(a) 45 (5) remote controller m pd7566a p80 (cmos output) reset (with pull-down resistor interconnected) p00 p01 p10 p11 p12 p13 p100 p101 p102 p103 p82 p90 p91 p110 p111 p112 p113 p81 inputs with pull-up resistor interconnected n-channel, open-drain output ceramic oscillator 304 khz infrared light-emitting diode 2sa733 70 keys max. cl1 cl2 se307-c 2sa952
m pd7566a, 7566a(a) 46 9. package drawings drawings of mass-production product packages (1/2) 24 pin plastic shrink dip (300 mil) i h j g f d b n m c k l m r note each lead centerline is located within 0.17 mm (0.007 inch) of its true position (t.p.) at maximum material condition. s24c-70-300b-1 item millimeters inches a b c d f g h i j k 23.12 max. 1.778 (t.p.) 3.2?.3 0.51 min. 4.31 max. 1.78 max. l m 0.17 0.25 7.62 (t.p.) 5.08 max. 6.5 n 0~15 0.50?.10 0.85 min. r 0.911 max. 0.070 max. 0.020 0.033 min. 0.126?.012 0.020 min. 0.170 max. 0.200 max. 0.300 (t.p.) 0.256 0.010 0.007 0~15 +0.004 ?.003 0.070 (t.p.) 1) item "k" to center of leads when formed parallel. 2) +0.10 ?.05 +0.004 ?.005 24 13 112 a caution dimensions of es products are different from those of mass-production products. refer to drawings of es product packages (1/2). h
m pd7566a, 7566a(a) 47 drawings of mass-production product packages (2/2) item millimeters inches a b c e f g h i j 15.54 max. 1.27 (t.p.) 1.8 max. 1.55 7.7?.3 0.78 max. 0.12 1.1 5.6 m 0.1?.1 n 0.612 max. 0.031 max. 0.004?.004 0.071 max. 0.061 0.303?.012 0.220 0.043 0.005 0.050 (t.p.) p24gm-50-300b-4 p3 3 +7 note each lead centerline is located within 0.12 mm (0.005 inch) of its true position (t.p.) at maximum material condition. d 0.40 0.016 +0.10 ?.05 k 0.20 0.008 +0.10 ?.05 l 0.6?.2 0.024 0.10 ? +7 ? 0.004 +0.008 ?.009 +0.004 ?.002 +0.004 ?.003 a c d g p detail of lead end f e b h i l k m j n m 112 13 24 24 pin plastic sop (300 mil) caution dimensions and materials of es products are different from those of mass-production products. refer to drawings of es product packages (2/2). h
m pd7566a, 7566a(a) 48 drawings of es product packages (1/2) es 24 pin shrink dip (reference) (unit: mm)
m pd7566a, 7566a(a) 49 drawings of es product packages (2/2) es 24 pin ceramic sop (reference) (unit: mm)
m pd7566a, 7566a(a) 50 10. recommended pc board pattern for sop (reference) (unit: mm) 1.27 1.27 0.51 0.76 7.62 ? the pattern shown above conforms to the integrated circuit dimensions rule (ic-74-2) stipulated by the electric industry association of japan (eiaj). ? the dimensions of this pattern are applicable to all the products called flat dip (mini-flat) form a 300 mil type. ? if there is a possibility that solder bridges could be formed, shorten the pitch (0.76 mm) between pads, without changing the length for each pad (1.27 mm).
m pd7566a, 7566a(a) 51 11. recommended soldering conditions for the m pd7566a, soldering must be performed under the following conditions. for details of recommended conditions for surface mounting, refer to information document "semiconductor device mounting technology manual" (iei-1207). for other soldering methods, please consult with nec sales personnel. table 11-1 soldering conditions of surface mount type m pd7566ag-xxx: 24-pin plastic sop (300 mil) m pd7566ag(a)-xxx: 24-pin plastic sop (300 mil) recommended soldering method soldering conditions conditions reference code infrared reflow package peak temperature 230 c, time: 30 secondes max. ir30-00-1 (210 c min.), number of soldering operations: 1, vps package peak temperature 215 c, time: 40 seconds max. vp15-00-1 (200 c min.), number of soldering operations: 1 wave soldering solder bath temperature: 260 c max., time: 10 seconds max., ws60-00-1 preparatory heating temperature: 120 c max. (package surface temperature) pin partial heating pin temperature: 300 c max., time: 3 seconds max. (per side) C caution do not use one soldering method in combination with another (however, pin partial heating can be performed with other soldering methods). table 11-2 soldering conditions of through-hole type m pD7566ACS-xxx: 24-pin plastic shrink dip (300 mil) m pD7566ACS(a)-xxx: 24-pin plastic shrink dip (300 mil) soldering method soldering conditions wave soldering solder bath temperature: 260 c max., time: 10 seconds max. (only for pin part) pin partial heating pin temperature: 300 c max., time: 3 seconds max. (per pin) caution the wave soldering must be performed at the pin part only. note that the solder must not be directly contacted to the package body. h
m pd7566a, 7566a(a) 52 h product m pd7556 m pd75p56 m pd7556a m pd7556a(a) m pd7566 m pd75p66 m pd7566a m pd7566a(a) item instruction rc 4 m s/500 khz C cycle/system external 2.86 m s/700 khz C clock (5 v) ceramic C 2.86 m s/700 khz instruction set 45 (set b) rom 1024 8 ram 64 4 i/o ports total 20 14 or 15 20 19 14 19 port 0 p00, p01 p00 p00, p01 p00, p01 p00 p00, p01 port 1 p10-p13 C p10-p13 p10-p13 C p10-p13 port 8 p80-p82, p80-p82, p80-p82, p80-p82 p83/cl2 p83(cl2) p83/cl2 breakdown 12 v 9 v 12 v 9 v voltage limit port 9, 10, 11 p90, p91, p100-p103, p110-p113 breakdown 12 v 9 v 12 v 9 v voltage limit timer/event counter 8 bits comparator 4 channels supply voltage range 2.5-6.0 v 4.5-6.0 v 2.0-6.0 v 2.7-6.0 v 2.7-6.0 v 4.5-6.0 v 2.7-6.0 v 2.7-6.0 v package 24-pin plastic shrink dip 24-pin plastic sop C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C appendix a. comparison for m pd7566a sub-series products C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C
m pd7566a, 7566a(a) 53 appendix b. development support tools the following development support tools are available for developing a system in which the m pd7566a is employed. language processor this absolute assembler is a program which converts a program written in mnemonic to object code, so that it can be executed by microcomputer. in addition, this absolute assembler is provided with a function which automatically performs branch instruction optimization. m pd7550, 7560 series host machine order code absolute assembler os media (product name) ms-dos tm 3.5"2hd m s5a13as7554 pc-9800 series ver.3.10 to 5.25" 2hd m s5a10as7554 ver.5.00a note ibm pc/at tm pc dos tm 5.25" 2hc m s7b10as7554 (ver.3.1 ) prom programming tool prom programmer that can easily program typical proms of 256k to 4m pg-1500 bits or single-chip microcomputers with built-in proms in the stand-alone mode or remotely from the host machine by connecting the accessory hardware boards and separately sold program adapters. pa-75p56cs prom programmer adapter to be connected to the pg-1500 for programming the m pd75p56 or the m pd75p66. allows controlling the pg-1500 connected to the host machine via the serial and parallel interface, from the host machine. host machine order code os media (product name) software pg-1500 controller ms-dos 3.5"2hd m s5a13pg1500 pc-9800 series ver.3.10 to 5.25" 2hd m s5a10pg1500 ver.5.00a note ibm pc/at pc dos 5.25" 2hc m s7b10pg1500 (ver.3.1 ) note although ver. 5.00/5.00a is provided with a task swap function, this function cannot be used with this software. remark the operations of the assembler and pg-1500 controller are guaranteed only on the above host machine and os.
m pd7566a, 7566a(a) 54 debugging tool the evakit-7500b is an evaluation board which can be used commonly with the m pd7500 series products. for system development with the m pd7566a, the and the ev-7554a option evakit-7500b board are used together. evakit-7500b although the evakit-7500b can operate in the stand-alone mode, the evakit-7500b has 2 serial interface channels on its board to which a console, such as rs-232c, etc., can be connected for debugging. hardware additionally, the evakit-7500b has real-time tracing function, so that the conditions of the program counter and the output ports can be traced on a real-time basis. the evakit-7500b also has a prom programmer for effective debugging. ev-7554a the ev-7554a is used together with the evakit-7500b to evaluate the m pd7566a. se-7554a the se-7554a is a simulation board for evaluating a system by mounting the program, developed by the evakit-7500b, in place of the m pd7566a. the evakit-7500 control program controls the evakit-7500b from the host machine by connecting the evakit-7500b to the host machine via the rs-232c. evakit-7500 host machine order code control os media (product name) software program (evakit ms-dos 3.5"2hd m s5a13ev7500-p01 controller) pc-9800 series ver.3.10 to 5.25" 2hd m s5a10ev7500-p01 ver.5.00a note ibm pc series pc dos 5.25" 2d m s7b11ev7500-p01 (ver.3.1 ) note although ver. 5.00/5.00a is provided with a task swap function, this function cannot be used with this software. caution it is not possible to internally mount a pull-up resistor in a port in the evakit-7500b. when evaluating, arrange to have a pull-up resistor mounted in the user system. remark operations of the evakit controller are guaranteed on the above listed host machines with the listed operating system. h
m pd7566a, 7566a(a) 55 appendix c. related documents document related to device document name document no. user's manual ieu-1111d m pd7500-series selection guide if-1027g document related to development tool document name document no. evakit-7500b user's manual eeu-1017c hardware ev-7554a user's manual eeu-1034a pg-1500 user's manual eeu-1335b m pd7550, 7560-series abusolute assembler user's manual eem-1006 software evakit-7500 control program user's manual ms-dos base eem-1356 pc dos base eem-1049 pg-1500 controller user's manual eeu-1291b other related document document name document no. package manual iei-1213 semiconductor device mounting technology manual iei-1207 quality grade on nec semiconductor devices iei-1209a nec semiconductor device reliability/quality control system iei-1203a static electricity discharge (esd) guarantee guide iei-1201 semiconductor device quality guarantee guide mei-1202 microcomputer-related product guide -third party product note remark these documents above are subject to change without notice. be sure to use the latest document for designing. note to be published. h
m pd7566a, 7566a(a) 56 [memo]
m pd7566a, 7566a(a) 57 notes for cmos devices 1 precaution against esd for semiconductors note: strong electric field, when exposed to a mos device, can cause destruction of the gate oxide and ultimately degrade the device operation. steps must be taken to stop generation of static electricity as much as possible, and quickly dissipate it once, when it has occurred. environmental control must be adequate. when it is dry, humidifier should be used. it is recommended to avoid using insulators that easily build static electricity. semiconductor devices must be stored and transported in an anti-static container, static shielding bag or conductive material. all test and measurement tools including work bench and floor should be grounded. the operator should be grounded using wrist strap. semiconductor devices must not be touched with bare hands. similar precautions need to be taken for pw boards with semiconductor devices on it. 2 handling of unused input pins for cmos note: no connection for cmos device inputs can be cause of malfunction. if no connection is provided to the input pins, it is possible that an internal input level may be generated due to noise, etc., hence causing malfunction. cmos device behave differently than bipolar or nmos devices. input levels of cmos devices must be fixed high or low by using a pull-up or pull-down circuitry. each unused pin should be connected to v dd or gnd with a resistor, if it is considered to have a possibility of being an output pin. all handling related to the unused pins must be judged device by device and related specifications governing the devices. 3 status before initialization of mos devices note: power-on does not necessarily define initial status of mos device. production process of mos does not define the initial operation status of the device. immediately after the power source is turned on, the devices with reset function have not yet been initialized. hence, power-on does not guarantee out-pin levels, i/o settings or contents of registers. device is not initialized until the reset signal is received. reset operation must be executed immedi- ately after power-on for devices having reset function.
[memo] no part of this document may be copied or reproduced in any form or by any means without the prior written consent of nec corporation. nec corporation assumes no responsibility for any errors which may appear in this document. nec corporation does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from use of a device described herein or any other liability arising from use of such device. no license, either express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of nec corporation or others. the devices listed in this document are not suitable for use in aerospace equipment, submarine cables, nuclear reactor control systems and life support systems. if customers intend to use nec devices for above applications or they intend to use "standard" quality grade nec devices for applications not intended by nec, please contact our sales people in advance. application examples recommended by nec corporation standard: computer, office equipment, communication equipment, test and measurement equipment, machine tools, industrial robots, audio and visual equipment, other consumer products, etc. special: automotive and transportation equipment, traffic control systems, antidisaster systems, anticrime systems, etc. m4 92.6 the application circuits and their parameters are for references only and are not intended for use in actual design-in's. ms-dos is a trademark of microsoft corporation. pc dos and pc/at are trademarks of ibm corporation. m pd7566a, 7566a(a)


▲Up To Search▲   

 
Price & Availability of D7566ACS

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X